package cn.stylefeng.guns.modular.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 新零帮定时接口日志
 * </p>
 *
 * @author zhangzh
 * @since 2024-08-02
 */
@TableName("xlb_task_api_log")
public class XlbTaskApiLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 创建时间
     */
    @TableField("crt_time")
    private Date crtTime;

    /**
     * 请求路径
     */
    @TableField("api_url")
    private String apiUrl;

    /**
     * 请求参数
     */
    @TableField("api_req")
    private String apiReq;

    /**
     * 返回参数
     */
    @TableField("api_rep")
    private String apiRep;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCrtTime() {
        return crtTime;
    }

    public void setCrtTime(Date crtTime) {
        this.crtTime = crtTime;
    }

    public String getApiUrl() {
        return apiUrl;
    }

    public void setApiUrl(String apiUrl) {
        this.apiUrl = apiUrl;
    }

    public String getApiReq() {
        return apiReq;
    }

    public void setApiReq(String apiReq) {
        this.apiReq = apiReq;
    }

    public String getApiRep() {
        return apiRep;
    }

    public void setApiRep(String apiRep) {
        this.apiRep = apiRep;
    }

    @Override
    public String toString() {
        return "XlbTaskApiLog{" +
        "id=" + id +
        ", crtTime=" + crtTime +
        ", apiUrl=" + apiUrl +
        ", apiReq=" + apiReq +
        ", apiRep=" + apiRep +
        "}";
    }
}
